<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="renderer" content="webkit">
  <title>{$sys_name} - {$lang.login}</title>
  <!-- Bootstrap -->
  <link href="/css/css/bootstrap.min.css" rel="stylesheet">
  <link href="/css/css/reset.css" rel="stylesheet">
  <link href="/css/css/style.css" rel="stylesheet">
  <script src="/js/js/jquery-1.11.3.min.js" type="text/javascript" ></script>
  <script src="/js/js/respond.js" type="text/javascript" ></script>
  <script src="/js/js/echarts.common.min.js" type="text/javascript" ></script>
  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body class="login_bg">
<div class="login_logo">
  <dl>
    <dt><img src="/images/login_logo.png" alt="" ></dt>
    <dd>
      <p>{$sys_name}</p>
				<span>
					<em></em>
					<small>
                      XINGFUBA
                    </small>
					<em></em>
				</span>
    </dd>
  </dl>
</div>
<div class="clear"></div>
<div class="login_list">
  <div class="login_title">
    <ul>
      <li class="login_cur" style="width: 100%;border-right: none;"><a style="cursor: pointer;border-bottom: none">{$lang.login}</a></li>
      <li style="display: none"><a href="{:U('Register/Index/index')}">{$lang.reg}</a></li>
    </ul>
  </div>
  <div class="login_form">
    <form action="{:U('Index/login')}" id="loginform" method="post">
      <div class="login_in">
        <dl>
          <dt><img src="/images/login1.png" alt=""></dt>
          <dd style="width: 70%"><input style="width: 100%" type="text" class="l_in" placeholder="请输入用户名（手机号）" value="" name="username" id="username" ></dd>
        </dl>
      </div>
      <div class="login_in">
        <dl>
          <dt><img src="/images/login2.png" alt=""></dt>
          <dd style="width: 70%"><input style="width: 100%" type="password" class="l_in" placeholder="请输入密码" value="" name="password" id="password"></dd>
        </dl>
      </div>


      <div class="login_in" style="border: none">
        <input type="text" class="yzm_in" placeholder="请输入验证码" id="code" name="code">
        <img src="{:U('Index/Index/makecode')}" style="margin-left: 10px" onclick="changethis(this)">
      </div>

      <div class="login_yzm" style="display: none">
        <input type="text" class="yzm_in" placeholder="请输入验证码">
        <a href="" class="yzm">获取邮箱验证码</a>
      </div>

      <div class="login_btn">
        <input name="doSubmit" type="submit" style="float: left" class="btn_login" id="btnLogin"  value="{$lang.login}">
        <button name="doSubmit" type="button"  class="btn_login" id="" onclick="findpwd()" >{$lang.findpwd}</button>
      </div>
    </form>
  </div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/js/js/bootstrap.js"></script>
<script>
  function changethis(obj){
    obj.src = "{:U('Index/Index/makecode')}"+'&r='+Math.random();
  }
  function register(){
    window.location.href = "{:U('Register/Index/index')}";
  }
  function login(){
    window.location.href = "{:U('User/Index/login')}";
  }
</script>
</body>
</html>



<script>
  function changethis(obj){
    obj.src = "{:U('Index/Index/makecode')}"+'&r='+Math.random();
  }

  function register(){
    window.location.href = "{:U('Register/Index/index')}";
  }
  function findpwd(){
    window.location.href = "{:U('User/Index/findPwd')}";
  }

</script>

